﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace Reflection
{
    [ObsoleteAttribute][Serializable]
    //[XmlElement("Customer"), Namespace="http://oreilly.com"]
    public class Person
    {
        public string Name { get; set; }
        public int Age { get; set; }

        public void Talk()
        {
            Console.WriteLine("Hello world");
        }
    }
}
